<template>
    <div id="app">
        <router-view/>
    </div>
</template>

<style lang="scss">
    @import "src/common/common.style";
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    ::-webkit-scrollbar {
        height: 5px;
        width: 5px;
    }
    ::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 0
    }
    ::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background-color: rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    }
    #app {
        font-family: 'Avenir', Helvetica, Arial, sans-serif, "微软雅黑 Bold", "微软雅黑 Regular", 微软雅黑;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-align: center;
        color: #2c3e50;
        font-size: $font-xs;
        width: 100%;
        height: 100%;
        font-style: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        @include bgImg("bg.jpg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .el-table .warning-row {
        background-color: oldlace;
    }
    .el-table .success-row {
        background-color: #f0f9eb;
    }
    .el-table .default-row {
        background-color: #c4ddf7;
    }
    .el-table .danger-row {
        background-color: #f5d4d4;
    }
    .el-table .cell {
        text-align: center;
    }
    .el-menu {
        background-color: #f9f9f9 !important;
        .el-menu-item {
            color: #017dff;
            i {
                color: #017dff;
            }
            span {
                margin-left: 5px;
            }
            &:hover {
                background-color: #017dff !important;
                color: #ffffff !important;
                i {
                    color: #ffffff !important;
                }
            }
            &.active {
                background-color: #017dff !important;
                color: #ffffff !important;
                i {
                    color: #ffffff !important;
                }
            }
        }
        .el-submenu {
            .el-menu-item {
                padding: 0;
                min-width: 150px;
            }
            .el-submenu__title {
                color: #017dff !important;
                i {
                    color: #017dff !important;
                }
                span {
                    margin-left: 5px;
                }
                &:hover {
                    background-color: #017dff !important;
                    color: #ffffff !important;
                    i {
                        color: #ffffff !important;
                    }
                }
                .el-submenu__icon-arrow {
                    font-size: $font-md;
                    font-weight: 600;
                }
            }
            ul {
                background-color: transparent !important
            }
        }
    }
    .el-dropdown {
        color: #017dff !important;
        &:hover {
            background-color: #017dff !important;
            color: #ffffff !important;
            i {
                color: #ffffff !important;
            }
        }
    }
    .el-dropdown-menu {
        .el-dropdown-menu__item {
            color: #017dff !important;
            &:hover {
                color: #fff !important;
                background-color: #017dff !important;
            }
        }
    }
</style>
